package com.genius.smsweb.scoremanage;

import com.genius.smsbase.Controller.GenericController;
import com.genius.smsdao.scoremanage.domain.Score;
import com.genius.smsservice.scoremanage.service.ScoreManager;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Api(tags = "成绩管理-成绩", description = "ScoreController")
@RestController
@RequestMapping("score")
public class ScoreController extends GenericController<Score,Long, ScoreManager> {


    ScoreManager scoreManager;

    /**
     *
     * @param scoreManager
     */
    @Autowired
    public void setScoreManager(ScoreManager scoreManager) {
        this.scoreManager = scoreManager;
        this.manager = this.scoreManager;
    }
}
